package cn.golxen.blog.commons.rabbitVo;

import cn.golxen.blog.commons.utils.RabbitMQTemplate;
import cn.golxen.blog.entity.Essay;
import lombok.Data;

import java.util.Set;

@Data
public class AddRedisEssayByCategoryVo extends RabbitMQTemplate {
    String category;
    Set<Essay> set;

    public AddRedisEssayByCategoryVo(String category,Set<Essay> set) {
        super("addRedisEssayByCategory", "EssayKey");
        this.set = set;
        this.category=category;
    }
}
